/**
 * 
 */
package com.grp6.game.ui.platform.swing;

import java.awt.GridLayout;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;

/**
 * @author Prashanth
 *
 */
public class SwingGameDialog {
	
	private JFrame parent;
	private JDialog dialog;
	private JButton okButton;
	private GridLayout layout;
	private int rows = 1;
	
	public SwingGameDialog(JFrame frame){
		parent = frame;
		dialog = new JDialog(parent,true);
		layout = new GridLayout();
		layout.setColumns(2);
		dialog.setLayout(layout);
		dialog.setSize(500, 70);
		okButton = new JButton("OK");
		okButton.setEnabled(true);
		/*okButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				dialog.setVisible(false);
			}
		});*/
	}	
}
